package com.dys.test05;

import java.io.Serial;
import java.io.Serializable;

/**
 * @className: com.dys.test04.User
 * @description: com.dys.test04
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/08/21 下午9:32
 */
public class User implements Serializable {

    /**
     * 序列化版本标识符
     */
    @Serial
    private static final long serialVersionUID = 8669962104969067816L;

    /**
     * 账号
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
